package com.runen.infinitemovement.model.entity;

import java.util.List;

public class NextAllCompanyStructureEntity {

    /**
     * data : [{"id":"1334791488440999938","name":"333","leader":null,"departments":null,"staffs":null},{"id":"1334802158653906946","name":"334","leader":null,"departments":null,"staffs":null},{"id":"9088d8ec-5af9-8edd-b440-25650af80c27","name":"未来之来科技有限公司西南分公司","leader":null,"departments":[{"id":"1334313630237024258","name":"我是新增","leader":null,"departments":[{"id":"1334801791069298690","name":"213423","leader":null,"departments":null,"staffs":null}],"staffs":null},{"id":"1334801846031458306","name":"555","leader":null,"departments":null,"staffs":null}],"staffs":null},{"id":"ebb71b2c-3066-3050-00bf-dsads545dsd","name":"未来之来科技有限公东方分公司","leader":null,"departments":null,"staffs":null}]
     * code : 0
     * msg :
     */

    public int code;
    public String msg;
    public List<DataBean> data;

    public static class DataBean {
        /**
         * id : 1334791488440999938
         * name : 333
         * leader : null
         * departments : null
         * staffs : null
         */

        public String id;
        public String name;
        public String leader;
        public List<DepartmentsBean> departments;
        public Object staffs;

        public static class DepartmentsBean {

            /**
             * id : 9088d8ec-5af9-8edd-b440-25650af80c27
             * name : 未来之来科技有限公司西南分公司
             * leader : null
             * departments : [{"id":"1334313630237024258","name":"我是新增","leader":null,"departments":[{"id":"1334801791069298690","name":"213423","leader":null,"departments":null,"staffs":null}],"staffs":null},{"id":"1334801846031458306","name":"555","leader":null,"departments":null,"staffs":null}]
             * staffs : null
             */

            public String id;
            public String name;
            public String leader;
            public Object staffs;
            public List<DepartmentsBeanX> departments;

            public static class DepartmentsBeanX {
                /**
                 * id : 1334313630237024258
                 * name : 我是新增
                 * leader : null
                 * departments : [{"id":"1334801791069298690","name":"213423","leader":null,"departments":null,"staffs":null}]
                 * staffs : null
                 */

                public String id;
                public String name;
                public String leader;
                public Object staffs;
                public List<DepartmentsBeanXX> departments;

                public static class DepartmentsBeanXX {
                    /**
                     * id : 1334801791069298690
                     * name : 213423
                     * leader : null
                     * departments : null
                     * staffs : null
                     */

                    public String id;
                    public String name;
                    public String leader;
                    public Object departments;
                    public Object staffs;
                }
            }
        }
    }
}
